package com.icexxx.ice_notepad;

import javax.swing.JFrame;
import javax.swing.JOptionPane;

public class MessageBox {

    public static void message(String message) {
        JFrame frame = MyFrame.getFrame();
        JOptionPane.showMessageDialog(frame, message, "警告", JOptionPane.INFORMATION_MESSAGE);
    }

}
